package dao.impl;

import dao.UserDao;
import model.User;

import java.util.ArrayList;
import java.util.List;

public class UserDaoImpl implements UserDao {
    public UserDaoImpl() {
        System.out.println("UserDaoImpl被创建！");
    }

    @Override
    public List<User> queryUsers() {
        System.out.println("dao-查询用户！");
        return new ArrayList<User>();
    }

    @Override
    public User queryUserById(int user_id) {
        System.out.println("dao-查询用户通过id！");
        return new User();
    }

    @Override
    public void addUser(User user) {

        System.out.println("dao-addUser");

    }


    @Override
    public void delUserById(int user_id) {
        System.out.println("dao-删除用户！");
    }
}
